html,
body {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#root {
  height: 100vh;
  width: 100vw;
}

/* 消除默认边距 */
.ant-layout-sider-children {
  display: flex !important;
  flex-direction: column;
}

/* 修正菜单项间距 */
.ant-menu-inline {
  border-right: 0 !important;
}

.ant-menu-item::after {
  left: 0 !important;
  right: auto !important;
}

/* 消除滚动条空白 */
.ant-layout-sider {
  position: relative !important;
  z-index: 1;
}

.ant-menu-submenu>.ant-menu {
  background: transparent !important;
}